IMO I want to make this maintenance free.

How about removing `languages` and then:

``` javascript
var language = code.replace(/-/g,'_').toLowerCase();
```

?