renamed app to emitter in app/light.js