Mailing list form validation implemented with JS alert functions