Added a callback for simultaneous XHR upload