equivalent method load jquery with javascript
window.onload = () => {
fetch('/path/to/page.html')
.then(data => {
return data.text()
})
.then( data => {
document.getElementById("parentContainer").innerHTML = data;
})
}