tmpl + js