Fixed minor JS bug, that failed to update upvotes count.