#793 fixed onImageUpload fire bug on firefox and ie11