HTML file cleanup

* Use correct DOCTYPE
* Reduce length of meta tags where possible (e.g. charset)
* Use querySelector() so we can remove the ID attribute for
  the viewport meta tag
* Clean comments out at build time