dom detachSelfAsHtml