Added merge sort javascript code

added merge sort code