docs: function insertContent(pageNum) {
          var $pageOverlay = $pages.eq(pageNum - 1).find('.crocodoc-page-autoscale');
          var $content = $(util.template(config.template, {
              pageNum: pageNum
          }));
  
          // listen for click events on the buttons
          $content.find('.add-page-btn').on('click', function (event) {
              addPage(pageNum);
              event.stopPropagation();
          });
          $content.find('.remove-page-btn').on('click', function (event) {
              removePage(pageNum);
              event.stopPropagation();
          });
  
          $pageOverlay.append($content);
      }