Optimization for shuffle

dig it or will this have issues with strings in legacy ie?
because we're shuffling could this be done in a reverse while (`length--`), 1 less var to track.