Light weight, client side form validator