Use document.registerElement