move the code from the last commit to a more sensible location
work around a bug in iOS 6 where ajax requests get cached and only work once
Merge branch 'master' into responsive