Update yii.js

```map``` and ```indexOf``` on arrays were only added in IE9.
Changed to make use of jQuery's equivalents.
Merge pull request #1241 from Alex-Code/script-filter

Update script filter