adding switcher js file