Factorisation of ajax relative code
Load dynamically old messages