Update EventHandler.js

wrong func calls :(