public static function addJs(string $js, int $sort = 0, array $options = []) {
		$js = str_replace('\\', '/', $js);
		Application::set(['layout', 'js', $js], $sort);
		if (!empty($options)) {
			Application::set(['layout', 'js_options', $js], $options);
		}
	}
public static function addJs(string $js, int $sort = 0, array $options = []) {
		$js = str_replace('\\', '/', $js);
		Application::set(['layout', 'js', $js], $sort);
		if (!empty($options)) {
			Application::set(['layout', 'js_options', $js], $options);
		}
	}
public static function addJs ( string $ js , int $ sort = 0 , array $ options = [ ] ) { $ js = str_replace ( '\\' , '/' , $ js ) ; Application :: set ( [ 'layout' , 'js' , $ js ] , $ sort ) ; if ( ! empty ( $ options ) ) { Application :: set ( [ 'layout' , 'js_options' , $ js ] , $ options ) ; } }
Add JavaScript file to the layout

@param string $js
@param int $sort
Add JavaScript file to the layout