Element ruchu JavaScript w tablicy do końca
// If you know the index, i
arr.push(arr.splice(i, 1)[0])
// If you dont, you must get it with
arr.push(arr.splice(arr.indexOf(value), 1)[0])
GitPaulo