Added ajax uploading to s3