moving to unified Google/Mozilla Web Components polyfill, required functions added from old Mozilla document.register() polyfill