extend native event emitter