Good catch!
However, we can do one better. ABSOLUTE_VALUE(v11n.distance(start,end)) + 1 is verseCount.
So line 137 can be this.verseCount = -distance + 1;
and line 145 can be this.verseCount = distance + 1;