code: function ShimEvent(type, debug) {
          this.type = type;
          this.debug = debug;
          this.bubbles = false;
          this.cancelable = false;
          this.eventPhase = 0;
          this.timeStamp = new Date().valueOf();
      }
docs: A shim Event class, for browsers that don't allow us to create native Event objects.
  @constructor