Fixed validateForm function and added Jasmine tests
Merge pull request #3 from alisonelizabeth/master

Fixed validateForm function and added Jasmine tests