Moved the timezone offset to a session cookie so as to affect all requests and not just ajax requests.