updated pathTextToPointText.js