translate any object to EventEmitter in DOM