function chunk(arr, chunkSize) {
            var returnArray = [];
            for (var i=0,len=arr.length; i<len; i+=chunkSize)
                returnArray.push(arr.slice(i,i+chunkSize));
            return returnArray;
        }
// break array into chunk of 3
break array into chunk of 3
break array into chunk of 3
function chunk(arr, chunkSize) {
            var returnArray = [];
            for (var i=0,len=arr.length; i<len; i+=chunkSize)
                returnArray.push(arr.slice(i,i+chunkSize));
            return returnArray;
        }
function chunk ( arr , chunkSize ) { var returnArray = [ ] ; for ( var i = 0 , len = arr . length ; i < len ; i += chunkSize ) returnArray . push ( arr . slice ( i , i + chunkSize ) ) ; return returnArray ; }
break array into chunk of 3
break array into chunk of 3