Added custom validator to filter java jokes