JS Binary Heap implementation w/ decrease-key support