Minor corrections in Ajax sample.