when using custom validation method for the pattern validation:
jQuery.validator.addMethod("xss", function (value, element) { retur