Adds js to vote