modify syntax in Unit.js