Fix problem with route sorting

Changed type of distanceTravelled and distanceRemaining to "double"
Fix targetCursor visible when it shouldn't be
Update dart2js