Update lightSwitch.js