Tweaked user file upload service to work with jQuery-file-upload widget