fixed comment voting js error messages