Create switcher.js