Merge Sort js