Small changes to core ajax demo