fixes #6 where IE > 7 would not handle responses of type application/json properly