code: function fix(event) {
      if (!('defaultPrevented' in event)) {
        event.defaultPrevented = false
        var prevent = event.preventDefault
        event.preventDefault = function() {
          this.defaultPrevented = true
          prevent.call(this)
        }
      }
    }
docs: emulates the 'defaultPrevented' property for browsers that have none