I have a different idea that might be better in this case. For twitter we can say
```
twitter: {
  id: "twitter-wjs",
  src: "//platform.twitter.com/widgets.js",
  html: function() {
    return "<a href='https://twitter.com/share'class='twitter-share-button' data-text='" + localized.get('default-tweet') + " ' data-url='"+urlPlaceHolder+"' data-via='Webmaker' data-count='none'>" + localized.get('tweet') + "</a>";
  }
}
```
 and then here we can say
```
var html = socialMedium.html;
if(typeof html === "function") {
  html = html();
}
```
That way we keep the code cleaner, but we also defer calling `localized.get` until it's actually needed.