Make custom elements behave with scoped registries

Read the full article at https://developer.chrome.com/blog/scoped-registries