event handling across browser