rpAmount: js style fix.