Updated change routes in js file