Add external to set the default lang

`getDefaultLang()` may be set in `loader.js`