add javascript modular vote