Enhanced cross-browser event handling