 uploadcare.whenReady ->
-  {namespace, jQuery: $, utils} = uploadcare
+  {
+    namespace,
+    jQuery: $,
+    utils,
+    debug
+  } = uploadcare
 
   namespace 'uploadcare.files', (ns) ->
 

          @fileSize = event.totalSize || event.total
          @__uploadDf.notify(@fileSize / @__loaded, this)

        xhr.send formData

        @__uploadDf.always =>
          _xhr = xhr


        # Naked XHR for progress tracking
        xhr = new XMLHttpRequest()
        xhr.addEventListener 'loadend', =>
          fail() if xhr? && !xhr.status
        xhr.upload.addEventListener 'progress', =>
