Update EventDispatcher.js