Add getCalendarStatus func for get data via ajax.