changes for html5 validity