add upload.js