added html5 error messages