fix eventemitter2 in browser
Merge pull request #3080 from ryiwamoto/fix_eventemitter2

fix eventemitter2 in browser