Client Side S3 CORS Upload for Amazon S3 - CoffeeScript and JavaScript Class
Here is my blog post explaining all the implementation details
http://codeartists.com/post/36892733572/how-to-directly-upload-files-to-amazon-s3-from-your
Underscore.js (for _.extend()) jQuery (for file element DOM selectors)