Added an event, added minified version