Fix up post-vote JS (Ref #242)