ie9 CORS

Currently, cors is broken in ie9. Retsly/ajax is being patched for compatibility, but this will require tweaks to the way that the sdk makes calls.
Make this single line if condition please.