Adds document listener to text field. Removes focus listener as its now redundant.
Adds live validation and toggle of error messages and submit button using document listener.
Refactors submit button removing redundant email address validity check, and uneeded vars.
Adds custom email validation, built in validation had bugs.