code: function shuffle(v) {
    for (var j, x, i = v.length; i; j = parseInt(Math.random() * i), x = v[--i], v[i] = v[j], v[j] = x);
    return v;
  }
docs: + Jonas Raoni Soares Silva @ http://jsfromhell.com/array/shuffle [rev. #1]