Fixed ajax problem on registration form.
Merge pull request #54 from kcarcia/validation

Fixed ajax problem on registration form.