code: function(ev) {
                  var code = ev.keyCode || ev.charCode || 0;
  
                  // webkit key normalization
                  if (YAHOO.env.ua.webkit && (code in webkitKeymap)) {
                      code = webkitKeymap[code];
                  }
                  return code;
              }
docs: Returns the charcode for an event
  @method getCharCode
  @param {Event} ev the event
  @return {int} the event's charCode
  @static