Fix validation for index.html