Insert user markup in shadowRoot or lightDom depending on browser support