Add merge & bubble sort solutions in javascript.