I am trying to author a robust file upload solution for s3 for files up to 500mb in javascript. After using a browser solution that works unreliably using s3.upload I am now try