Build a Robust AWS S3 File Uploader with Flask & JavaScript: A Step-by