var uploadExtraData: ((String, Int) -> dynamic)?
The extra data that will be passed as data to the AJAX server call via POST.