adding search js