Changed error to be css class

jquery ui-error-state