work on a Validation class on the client side