Wrap domReady initialization callback in a RunLoop