Javascript form validation. Pure JS. No jQuery