Fix component version

Oops. currently 2 errors: calling `EventEmitter` constructor in the component version + `Emitter` mixin applied incorrectly.