Decomposed JS. Play button works. Pause and reset need additional work. Intervals are now dequeued when not running.
Added local jquery
Implemented correct play/pause and reset.
Added correct runComplete functionality