changes to js allowance on percentage