Fix HTML5 conformance

Signed-off-by: Eli Skeggs <skeggse@gmail.com>