React - s3url is not a function