add js switching between vote form and results