Slightly cleaner approch to creating an error messages if the email fails validation.

* We now only pass the raw text to the client and keep the DOM element creation
  in the client-side main.js file.
* Would possibly be nicer to use a templating engine like underscore to make this
  even more elegant, but I'm currently in the airport and running out of free wi-fi!