source of the waiting for the DOM