fix eventemitter2 in browser