evil-ugly workaround for cujojs/curl#252

seems to work when used with dist /curl-for-jQuery/curl.js