Don't have Telegram yet? Try it now!
http://onezeronull.com/2013/07/03/getting-root-path-in-javascript-files-included-in-yii-application/
Getting root path in Javascript files included in Yii application