javascript callback to a java method, must use xhr.upload.onprogress
Merge pull request #278 from jay-hodgson/SWC-528-progressbar

SWC-528: javascript callback to a java method, use xhr.upload.onprogress