adding clearsearch.js