fix: support MutationObserver.disconnect
feat: support document.registerElement

Closes #18