added local js cookie for detecting a change in vote