Update upload.js

Add another function that lets the user upload all instead of just one at a time.