Made changes to static/scripts/S3/s3.cap.js as suggested for a better javascript performance
Merge pull request #751 from coder006/master

Fixed the bug with ticket http://eden.sahanafoundation.org/ticket/1523