Cleaning up <script> tags

* Modernize script tags (remove HTML comments, remove type attribute) since these aren't necessary anymore. 
* Some whitespace cleanup.