What's wrong with this code?
body.removeChild()
It calls body.removeChild() with an ID value, not an element.