simplify no html5 validation overwrite