docs: function updateAvailablePages(pages) {
          var i, page;
          for (i = 0; i < pages.length; ++i) {
              page = pages[i];
              viewerAPI.fire('realtimeupdate', { page: page });
              scope.broadcast('pageavailable', { page: page });
          }
      }