Update EventManager.js