Use socket on instead of ajax to refill history & reserve data