 
     upload = (file) ->
       partSize = computePartSize file.size
-      parts = _(splitIntoParts(file, partSize)).map (part) -> key: part[0], data: part[1]
+      parts = _.map splitIntoParts(file, partSize), (part) -> key: part[0], data: part[1]
 
       sanitizedFileName = file.name.replace(/[^0-9a-z.]/gi, "_").toLowerCase()
 

      Bacon.mergeAll(_queued, _progress, _success, _error, _signError).toProperty(waiting: true, start: _start)

    uploadParts = (parts, objectPath, uploadId) ->
      uploads = _(parts).map (part) -> prepareForUpload(part, objectPath, uploadId)

      bitrateEstimator.init()


        _start += partSize
        slice data, currStart, currEnd

      _.zip _.range(1, parts.length + 1), parts

    signRequest = ({data, onSuccess, onError}) ->
      $.ajax
