practice with validating in jquery ui