add event emitter dependency