begin Fibonacci Heap in Javascript