change ready to domReady