add basic javascript email validation