refactor(client/js/uploader.basic.js): closes #858 ensure onStatusChange callback is invoked after some associated states have been updated internally.