browserify module for emitting/registering to custom events in the browser