updated the HTML syntax to allow <script type="text/template"> tags