builder_test : remove a couple of deprecation warnings, use document.registerElement