some js goodness for workorder amounts