comment voting js works