cleaning up a bunch

Only need one declaration of document.ready and other consolidation