Cleaned up bubble-sort.js a bit