Event Emitter Class for the browser based on NodeJS EventEmitter.