refactor voting client js