Update search.js

review for Nina