How to Validate an Email Address in JavaScript | CodeTrail