fix for undefined emitter callback error in newer versions of event module
update travis config