Algorithm's Dijkstra Shortest Finder for NodeJS