updated request url in search.js to point to the right location