done rating without AJAX