add browser support
add EventEmitter