javascript working, new routes implemented