public static function addScriptCode($scriptCode, $dependantResourceUrls = [])
    {
        $dependantResourceUrls = array_unique($dependantResourceUrls);

        self::$resources[] = [$scriptCode, $dependantResourceUrls];
    }