let's call it call_template_with_js