Fixed timing glitch in calculateRoute.js.