ajax validation and search status showing finished