#249 refactoring search.js and change name of util.js to ajax.js