Replaced logic to find nearest segment with turf.nearestPointOnLine()
Replaced logic to find nearest segment with turf.nearestPointOnLine()

More accurate on routes that are shaped like an 'U' for whatever reason.

nrenner/brouter-web,nrenner/brouter-web,nrenner/brouter-web