move document.ready to be page specific