Javascript S3 Upload (single + multipart)