fix loading of search.js