typo in upload.js