adding missing dependency

this actually works w/o this is because browserify has events as a dependency.