Added ajax search work.