Update upload.js

Removed unused variable declaration.
Merge pull request #1 from djentleman/patch-1

Update upload.js