ajax validation helper from yii 1.x