fixed unit.js syntax