Fix routes to javascript files