change js index route