Added 'event' for compatibility in Firefox and Chrome.