uploads to S3 using jquery