added example of ajax call inside of model parse