Votes working with AJAX