Changed javascript routes