Yii Javascript port