Add doctype, charset declaration
Minor cleanup and refactoring.
Remove "type" and "language" attributes on <link> and <script> tags

These are not necessary in HTML 5.
Merge pull request #8 from duckson/tweaks

Minor tweaks