public function buildJsRedirect(array $get, array $cookie)
    {
        $settingsManager = new Shopgate_Helper_Redirect_SettingsManager($this->config, $get, $cookie);
        $templateParser  = new Shopgate_Helper_Redirect_TemplateParser();

        $linkBuilder   = new Shopgate_Helper_Redirect_LinkBuilder(
            $settingsManager,
            $templateParser
        );
        $tagsGenerator = new Shopgate_Helper_Redirect_TagsGenerator(
            $linkBuilder,
            $templateParser
        );

        $jsBuilder = new Shopgate_Helper_Redirect_JsScriptBuilder(
            $tagsGenerator,
            $settingsManager,
            $templateParser,
            dirname(__FILE__) . '/../assets/js_header.html',
            $this->config->getShopNumber()
        );

        $jsType = new Shopgate_Helper_Redirect_Type_Js($jsBuilder);

        return $jsType;
    }