lib: Fix EventEmitter import for browser in devicecommunication