HTML5/D3: Connect /device/switch on-off control (#77)

Lots of interaction between on-off control and level slider when level
property is present.