Added doc to AStar.js