wait for creating new html