EDITABLE CODE:
LiveDemo: JavaScript Form Validation : Check Email
Note: It checks just for a basic symbol of @ and ..