demo(all): add HTML5 doctype

This prevents browsers from following legacy specifications such as what
was discovered on #1507.

Closes #1510