Delay createRootContainer until document.body is not null
new build