This fixes issues that arise from a combination of the use of global variables, having multiple polls on a page, wp-fastest-cache attempting to update all the polls in 1000ms intervals, and those updates taking longer than 1000ms. The "current" poll/vote id is now passed through parameters and closures everywhere so no global variable is needed and all actions can safely be done in parallel.
This fixes issues that arise from a combination of the use of global variables, having multiple polls on a page, wp-fastest-cache attempting to update all the polls in 1000ms intervals, and those updates taking longer than 1000ms. The "current" poll/vote id is now passed through parameters and closures everywhere so no global variable is needed and all actions can safely be done in parallel.