function newRandomKey(coll, key, currentKey){
        var randKey;
        do {
          randKey = coll[Math.floor(coll.length * Math.random())][key];
        } while (randKey == currentKey);
        return randKey;
      }
// Util for returning a randomKey from a collection that also isn't the current key
Util for returning a randomKey from a collection that also isn't the current key
Util for returning a randomKey from a collection that also isn ' t the current key
function newRandomKey(coll, key, currentKey){
        var randKey;
        do {
          randKey = coll[Math.floor(coll.length * Math.random())][key];
        } while (randKey == currentKey);
        return randKey;
      }
function newRandomKey ( coll , key , currentKey ) { var randKey ; do { randKey = coll [ Math . floor ( coll . length * Math . random ( ) ) ] [ key ] ; } while ( randKey == currentKey ) ; return randKey ; }
Util for returning a randomKey from a collection that also isn't the current key
Util for returning a randomKey from a collection that also isn ' t the current key