Added registration form validation using CoffeeScript.