Node.js implementation of Dijkstra's algorithm backed by Fibonacci heap