Fixed JS routes.