Implemented AJAX upvoting on posts