ajax assignment