Fixed bug where the first slide was with duration 0
This was due to an unitilized this.fraction variable.
and because undefined*anything = NAN
when doing the duration calculation on line
JSlider.ts:255&275 the duration became NAN/0