adding document.ready