Your latest version has a minor typo. Line 104 should be:
if (xpNodelet) {
instead of:
if (xpNodelet)
In reply to Re: Perlmonks AJAX Voting by aufflick in thread Perlmonks AJAX Voting by eric256