Update script.js (Add ValidateEmail)