Added some javascript to hide the errors when the users start typing in
the input box
Fixed typo
Added javascript test libraries and tests