Fix HTML5 conformance

Signed-off-by: Eli Skeggs <skeggse@gmail.com>
Merge pull request #1 from skeggse/patch-1

Fix HTML5 conformance