public static function setScripts(array $scripts, bool $replace_existing=false) :void {
		// if we want to purge existing scripts
		!$replace_existing ?: self::$_scripts = [];
		// for each script we have to set
		foreach($scripts as $script) {
			// rewrite its path
			self::$_scripts[] = self::getPublicAssetPath($script, 'Js');
		}
	}