html5 validation fixes