Working towards HTML5 compliance