Flexible Event Emitter for Node and the Browser