bubble sort in javascript added