CPS and Ajax