Add optional additional data to post in upload.js