Fixing "module not defined" exception

Fixes issue https://github.com/hij1nx/EventEmitter2/issues/100