modify Unit.js by subei