Setting common validations front-end side. Is being used jquery.validate