added base url to search.js