Reg ajax preparation