adjust agile uploader to call a submit response callback if defined. for ajax usage.