You are calling two functions that you did not include (getCheckedValue and makeVote).
I am not sure, but I don't think var name = "data" +
"more data" +
"even more"; is valid or good JS. Try var name = "data";
name += "more data";
If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
* The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".