update vote count w/ js automatically