prototype upvote downvote handler