Yii, Best pratice to include jquery, js and css files :
<?php Yii::app()->clientScript->registerCoreScript('jquery'); ?> <?php Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl.'/css/style.css');?> <?php Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl.'/js/star_rating.js');?>