OO JS based form validator.