Refactor the AWS upload policy code into a separate function. Simplify the createUploadControl() function using functional jQuery.
Refactor the AWS upload policy code into a separate function. Simplify the createUploadControl() function using functional jQuery.

nimbis/s3commander,nimbis/s3commander,nimbis/s3commander,nimbis/s3commander