[LHTR] Fix DOCTYPE declaration for #1414.
[LHTR] Fix html xmlns attr for #1414.
[LHTR] Fallback to SetContents if no body attr after setting.

For #1414.
[LHTR] Setup JS stuff after setting contents just in case.

Hypothetically finally fixes #1414.
Merge branch 'master' of github.com:0xd34df00d/leechcraft