Updated jquery for voting