adding hip event emitter in emmiters js