validation in firefox, explorer does not work