Ajax fixes on charts and logging activities.