call EventEmitter constructor