x.css" rel="stylesheet" />
<script src="/webapp/api.js"></script>
<script src="/webapp/index.js"></script>
<script src="/webapp/stream.js"></script>
<script>
    function doPageLoad() {
      onPageLoad().then((_user) => {
        apiGetDocGenJobs().then(jobs => {
          const jobsEl = document.getElementById("jobs");
          for (const job of jobs) {
            jobsEl.appendChild(renderJob(job));
          }
          // listen for job updates
          const sourceForJobs = new StreamEventSource("/a