Add null events to window object to better match real browsers
1.5.0