Change upload speed calculation if upload speed equals 0

The formula used to convert bytes per second to human readable
units uses Math.log(speed_upload), which is undefined
(or -Inifinity) when speed_upload equals zero. So don't use that
formula if speed_upload equals zero.