Fix indentation and formatting for end-user legibility

Adds Doctype, and type attributes to style/script tags. removes auto
generated cmments/ids from saving source from browser.