Set autoUpload to auto upload file
Use process and validate js

1. Use process and validate js
2. In add callback, manually invoke the process queue
3. The process function returns a promise. You can attach a failure
handler to this promise to invoke custom logic for displaying the error.
Custom implement frontend filesize and filetype validation