fix IS-26, fixed removeChild error on reconnect
document.body.removeChild results in "node is not a child of node" error