search.js fix