added switcher.js