Add bubblesort in js