code: function addEventListener(event, listener, capture) {
      if (event in eventsList) {
        // here stored the event listeners 'popstate/hashchange'
        eventsList[event].push(listener);
      } else {
        // FireFox support non-standart four argument aWantsUntrusted
        // https://github.com/devote/HTML5-History-API/issues/13
        if (arguments.length > 3) {
          addEvent(event, listener, capture, arguments[3]);
        } else {
          addEvent(event, listener, capture);
        }
      }
    }
docs: Wrapper for the methods 'addEventListener/attachEvent' in the context of the 'window'
  
  @param {String} event The event type for which the user is registering
  @param {Function} listener The method to be called when the event occurs.
  @param {Boolean} capture If true, capture indicates that the user wishes to initiate capture.
  @return void