anchor.diff:  
       $('#clone').click(function(e) {
         e.preventDefault();
  -      $(file).clone().appendTo('#files');
  +      clone = $(file).clone()
  +      clone.appendTo('#files');
  +      bgUpload(clone.find('.bg-upload'))
       });
   
       $('.bg-upload').each(function(i, elem) {
  +      bgUpload(elem)
  +    });
  +
  +    function bgUpload(elem) {
         var fileInput = $(elem);
         var form         = $(fileInput.parents('form:first'));
         var submitButton = form.find('input[type="submit"]');
  
positive.code:           form.append(input);
          },
          fail: function(e, data) {
            debugger;
            submitButton.prop('disabled', false);
  
            progressBar.
  
negative.code:             text("Failed");
          }
        });
      }
  
    });
  </script>
  