Yii extension to store and use application's predefined URLs in a similar way in both PHP and JavaScript