Create SWITCH.js