I'd use an object to refer to this functions instead of attaching them directly to `window`, like:
```javascript
var ExternalLinks = {
  refs: {
  },
  getLocalizedLink: function (key) {
  }
}
```
but I'm not strong at all on this, it's more a style thing, so no worries.