ajax creation pari optimise