Generating Amazon S3 file upload Policy in Node.js