making search.js prettier