Fixed form to work with firefox to check password criteria