The Javascript code below will take an array and mix up or shuffle the order of the elements within the array.
Now that the array has been shuffled you can grab the first element and then delete that element of the array to ensure it is only used once via ...