Learn: Fisher–Yates shuffle in Javascript