public static function registerTheme($theme)
    {
        $themes = (array) $theme;
        array_walk($themes, function (&$name) {
            $name .= '.js';
        });
        static::$_themeJsFiles = array_unique(array_merge(static::$_themeJsFiles, $themes));
        if (static::$_themeJsFiles) {
            ThemeAsset::register(Yii::$app->getView())->js = static::$_themeJsFiles;
        }
    }