Strangely only works in Chrome. The variable is not in the same scope and therefore shouldn't be accessible, possibly Chrome defines a global `event` that gets set to whichever event is currently being processed.