Update upload.js

Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
See https://developer.mozilla.org/en-US/docs/Web/API/BlobBuilder