[utils.js] Fix a bug that formatMetricPrefix() doesn't remove trailing zero
[utils.js] Don't insert a space when the unit is empty at formatMetricPrefix()