Cross-platform ShadowDOM Polyfill