shadow DOM doc cleanup