Calendar AJAX sync fix