removed old code which stopped ajax requests being cached

If you set X-requested-with, and used cache control the value you set got overrided by this code.