Voting works again
Convert error code to use jQuery