Adding jsvalidator.js, and adding tests.