Update heapSort.js