anchor.diff:          }
           var pdfPageView = new pdfjsViewer.PDFPageView({
             container: container.regionComments[0],
  -          id: pdfPage.pageIndex + 1,
  +          id: pageNum,
             scale: width,
             defaultViewport: viewport,
             renderer: 'canvas',
  
positive.code:           }
          }
        }
        function renderPage(pdfPage, container, renderScale) {
          // Creating the page view with default parameters.
          var width;
          var fontSize = Number.parseFloat($pages.css('font-size'));
  
negative.code:             var pct = 100 * (workItem.pageNum / workItem.numPages);
              $progress.addClass("indeterminate");
              $loading.removeClass("hidden").css({width: "" + Math.floor(pct) + "%"}).show();
              return renderPage(workItem.pageData, workItem.pageNum, workItem.container, workItem.renderScale)
                .then(() => {
                  // console.log("Rendering " + workItem.pageNum + " at " + workItem.renderScale);
                  workItem.container.regionComments.find("div.page")
  