Events for modern browsers.