Using S3 and Cross Origin Resource Sharing