wait for domready