votes java ajax works