Stop Event.js from messing with global Event objects.

Fix #1170.
Merge pull request #1171 from aspectit/eventjs

Stop Event.js from messing with global Event objects.