"event" is not defined error in Firefox

see http://stackoverflow.com/questions/20522887/referenceerror-event-is-not-defined-error-in-firefox
"WebKit follows IE's old behavior of using a global symbol for "event", but Firefox doesn't..."
Merge pull request #6437 from weichm/patch-1

"event" is not defined error in Firefox