My changes to search.js