adding search.js,searchSpec.js