change document.domReady to document.ready