Based on `isNative` use in the source, I think this line should be: 
```js
event = new Event(null, element, !!element[eventSupport] && nativeEvents[type])
```