lots of refactoring to make the page redirect to teh same week that the person was viewing after ajax requests