EventEmitter only exists in Node