HTML5 conformance fix