added .html to search.js to clear the appended div so note search wouldn't stack