added new upload.js route