```javascript
If ( !Array.isArray( options.supported_languages ) ) {
  options.supported_languages = [ "en-US" ];
}

listSupportedLang =  options.supported_languages.slice();
```

No need for the `0` to the `slice` call either IIRC.