Create light-switch.js