Optimization for shuffle

dig it or will this have issues with strings in legacy ie?
Style switcher-oo. Not a big deal (as I'll do a cleanup pass after), but for future reference Lo-Dash style is to declare vars at time of use so inside the while-loop.