Rename main.js to event.js