support for <script> templates