changed searchResult to ajax jquery