added $document.ready