Handling to ensure <script> tags are not self-closing (i.e., no <script/...

Handling to ensure <script> tags are not self-closing (i.e., no <script/>), as that can cause problems for browsers.