Working out how to send images directly to s3 with js