//The HTML <div id="host"></div> //The JS var host = document.querySelector('#host'); var root = host.createShadowRoot();