update Unit.js for customization