protected function registerJsPackagesIfEnabled() {
		
		if (!$this->enableJS)
			return;

		if (!$this->ajaxJsLoad && Yii::app()->request->isAjaxRequest)
			return;

		$this->registerPackage('bootstrap.js');
        $this->registerPackage('bootstrap-noconflict');

		if ($this->enableBootboxJS)
			$this->registerPackage('bootbox');

		if ($this->enableNotifierJS)
			$this->registerPackage('notify');
		
		if($this->enablePopover)
			$this->registerPopoverJs();
		
		if($this->enableTooltip)
			$this->registerTooltipJs();
	}