linting emitter.js