code: function simulate(target, type, options) {
  
      options = options || {};
  
      if (events[type]) {
          simulateEvent(target, type, options);
      } else if (keyEvents[type]) {
          simulateKeyEvent(target, type, options);
      } else if (htmlEvents[type]) {
          simulateHtmlEvent(target, type, options.bubbles, options.cancelable);
      } else {
          log.error("simulate(): Event '" + type + "' can't be simulated.");
      }
  }
docs: Simulates the event with the given name on a target.
  @param {HTMLElement} target The DOM element that's the target of the event.
  @param {String} type The type of event to simulate (i.e., "click").
  @param {Object} options (Optional) Extra options to copy onto the event object.
  @method simulate
  @static