changes for new html5 validation