The description says it all. How to put a JavaScript script inside handlebars template.
I want to make a dynamic Paypal button for my website.
Try breaking up the "/script" part:
<script ...><{{!}}/script>
That technique is similar to older hacks like
<script>document.write("<script>...<\/script>");</script>