Update yii.js

Changed to use HTTP headers for asset filtering.