ajax search, need to fix js view