Updated javascript for e-mail form