fix js part2