    ApiClient.getPluginConfiguration(pluginId).then(function (config) {
                        config.AlwaysForceFullRefresh = document.getElementById("always-force-full-refresh").checked;
                        config.WhitelistLanguageTags = document.getElementById("whitelist-language-tags").value;
                        config.SynchronousRefresh = document.getElementById("synchronous-refresh").checked;
                        config.AddSubtitleTags = document.getElementById("subtitle-tags").checked;
  