Moved script tag to the bottom of the page again so that voting works :)
Implemented automatic update of results table whenever a vote is submitted.