updated routes, some js support from the old version of the site