public static function getJs($path = false) { if (self::$js) { if ($path) { return self::$js->get(); } return self::$js->getOutput(); } return ''; }