using the events module instead of events-browserify
3.1.1