adding jquery validation and saving searches