public static function addCommonHeaderScripts($commonHeaderScripts)
    {
        foreach (GeneralUtility::trimExplode(',', $commonHeaderScripts, true) as $commonHeaderScript) {
            $commonHeaderScript = self::resolveUrl($commonHeaderScript);
            if ($commonHeaderScript) {
                self::$commonHeaderScripts[] = $commonHeaderScript;
            }
        }
    }