Fix bug in route, template_routye and orders js