add js merge sort