Create htmlSwitch.js