pdf.js wrapper for Yii Framework