Is there a way to convert this:

```
$('#id').testfunction({
  'source' : [
    {'source':'pathimage.jpg','title':'Title 1','description':'This is a description 1.'},
    {'source':'pathimage.jpg','title':'Title 2','description':'This is a description 2.'},
    {'source':'pathimage.jpg','title':'Title 3','description':'This is a description 3.'},
    {'source':'pathimage.jpg','title':'Title 4','description':'This is a description 4.'},
    {'source':'pathimage.jpg','title':'Title 5','description':'This is a description 5.'}
  ]
});

```

To simple for dynamically output:

```
$('#id').testfunction({
  'source':[
    $SOURCE
  ]
});

```

I am pushing the source into a array and trying to construct it again into `$SOURCE`. The `$SOURCE` should be look like this eventually:

```
$SOURCE = myArray[0], myArray[1], myArray[2], myArray[3], myArray[4];

```

But its the comma thingy that keeps prevent the variable from working. I can't get the comma into the variable. Using `+ "," +` doesnt work since it recognizes it as a string... 

```
$SOURCE += myArray[s],;

```

Is there a way to convert this to a working variable to dynamically use?