Register cross-browser event