code: function(arr, i) {
  			var ret = arr.slice(0);
  			for (var j = 0; j < i; j++) {
  				ret = [ret[ret.length - 1]].concat(ret.slice(0, ret.length - 1));
  			}
  			return ret;
  		}
docs: eliminate duplicate circular dependency loops