Use Yii translations in JavaScript