Change novalidate class to html5 attribute