Insert user markup inside shadowRoot or light dom depending on browser support