fixing JS bug with error messages on sign up forms.