Update upload.js

Changes to the original upload.js to support uploading Vimeo videos