create upload.js