now returning spec-compliant custom element constructor from document.register()