code: function onWindowLoad() {
      self.isLoaded = true;
  
      onPluginStart();
  
      if (windowLoadListenderAttached) {
        window.removeEventListener('load', onWindowLoad, false);
      }
    }
docs: Setup listeners to know when we're ready to go.