Fix for crash when ajax request returns a blank response on iOS 6.