removing old code which stops ajax requests being able to use cache control