Pass event into click handler, fallback to window.event

http://stackoverflow.com/questions/17059385/referenceerror-event-is-not-defined-in-mozila-firefox