[fix bug 963084] Use JavaScript templating for range and radio polls in voting