clear textContent in search before append work is done since nodes are reused