Ajax is used to load events.