Update route to js