* wait for dom document before rendering started