Create event.js

not working yet