lib: Use component/emitter for EventEmitter in browser
TEMP: add HTML/JS version of traffic light example

FIXME: actually modify the SVG file to reflect current state
FIXME: add component/emitter to dependencies