alter XHR code for S4 + PhoneGap compatibility
accommodate IE
sorry IE
Merge pull request #30 from Trott/s4-fix

S4 fix