add up and downvote event handlers