add searchResult.js and some changes