modify Unit.js
modify syntax in Unit.js
Merge pull request #21 from psfe/master

修改逻辑，语法，增加注释 from @logosu