Added: cross browser event handler