Added ajax call on statistics page.