Added AJAX marking favorites