Update EventHandler.js

wrong func calls :(
Merge pull request #291 from lastmirage/master

Update EventHandler.js