add eventEmitter to _, make _ an eventEmitter, fix log bug on browser