remove surrounding document.ready