How about 

```
from django.utils import simplejson
list = simplejson.dumps(LIST)

var JS_LIST = {{ list|safe }}; 
```