Fixed AmountSet.js bug.