Create the jsvalidator.js

Alpha version, still need a lot of work, made by developer with intermediate javascript knoweledge