Solve ajax issue : to do : doc + complementary test