I want to create a file `config.js` containing JSON code.
Here is my code on app.js

```
app.get('/config.js', function(req, res) {
  var JSON = {
    "info": {
        "level1":  "Jeopardy Ready",
        "level2":  "Jeopardy Contender",
        "level3":  "Jeopardy Amateur",
        "level4":  "Jeopardy Newb",
        "level5":  "Stay in school, kid..." // no comma here
    }
  };
  res.format({'text/plain': function(){
    res.send(" var JSON = ");
  }
  });
 res.json(JSON);

});

```

I want to have result in config.js

```
var JSON = {
    "info": {
        "level1":  "Jeopardy Ready",
        "level2":  "Jeopardy Contender",
        "level3":  "Jeopardy Amateur",
        "level4":  "Jeopardy Newb",
        "level5":  "Stay in school, kid..." // no comma here
    }
    ]
  };

```

Any idea how to make it?
In my code I tried to use res.send and res.json together, but it couldn't works.