calculating a path with pathfindingjs