Fix js RangeIterator and NumberProgression.