Javascript array shuffle with modern Fisher-Yates