Fixing html5 validation errors