add eventemitter2 dependency