find and replace - only clean dom tree