only mark the start node as dirty to avoid pushing duplicate nodes onto dirty list
only mark the start node as dirty to avoid pushing duplicate nodes onto dirty list

bgrins/javascript-astar,cipix2000/javascript-astar,bgrins/javascript-astar,cipix2000/javascript-astar