add jquery validation to search