Update yii.activeForm.js

Refactored