Events Max: Enhanced cross-browser JavaScript event handling