move s3run.js to library, creating a dummy index.js