Fix balancesheet and profitloss length in jquery