code: function(ev) {
                  if (!ev.time) {
                      var t = new Date().getTime();
                      try {
                          ev.time = t;
                      } catch(ex) { 
                          this.lastError = ex;
                          return t;
                      }
                  }
  
                  return ev.time;
              }
docs: Returns the time of the event.  If the time is not included, the
  event is modified using the current time.
  @method getTime
  @param {Event} ev the event
  @return {Date} the time of the event
  @static