removed unused switch.js file