Yii extension to make translation functionality similar to Yii::t() available in JavaScript