Fixed html5 validation