voting test passing, js do be completed