Fix html5/document - cleanup header and add some meta tags

To be consistent with the built-in version of the backend.
Merge pull request #98 from jirutka/patch-12

Fix html5/document – cleanup header and add some meta tags