internal ClientScriptLoaderHelper(ComparisonWidgetSettings settings, ClientHelper helper)
 {
     _applicationPathFinder = new ApplicationPathFinder();
     _settings = settings;
     //Set ClientHelper
     this.helper = helper;
 }
 /// <summary>
 /// Generates a javascript code for initializing the Comparison Widget
 /// </summary>
 /// <param name="htmlHelper">The HTML helper.</param>
 /// <param name="targetElementSelector">DOM element selector</param>
 /// <returns></returns>
 public static ClientHelper Compare(this HtmlHelper htmlHelper, string targetElementSelector)
 {
     //Create new client helper
     helper = new ClientHelper(Settings, targetElementSelector);
     return helper;
 }