What about body.innerHTML = "";