replace this comment + (Java/C/C++-like) switch-case section by something more Javascript-like:

```javascript
var extensions = {