docs: function registerBoxViewPageEventHandlers() {
          // event names depend on whether we support svg or not
          if (scope.getUtility('support').svg) {
              realtime.on('pageavailable.svg', handlePageAvailableEvent);
              realtime.on('finished.svg', handleFinishedEvent);
              realtime.on('failed.svg', handleFailedEvent);
          } else {
              realtime.on('pageavailable.png', handlePageAvailableEvent);
              realtime.on('finished.png', handleFinishedEvent);
              realtime.on('failed.png', handleFailedEvent);
          }
  
          realtime.on('error', handleErrorEvent);
      }