fixed numberformat js bug for -1.