updated s3upload.js to the new forked version