how do you use javascrip to checm email input field?