renamed js file to switchboard