AJAX ratings fix