[core] [js] return test number every 1000 lines instead of 100