Create addEvent.js