Create event utility for multiple browsers