Added eventHandler.js
Formatting