You can use localStorage
to record that client has voted. Something like this:
localStorage.setItem('voted', true);
To check if client voted before:
var voted = localStorage.get item('voted');
Update:
As you need a counter, you may try one of BAAS (backend-as-a-service) services, such as parse.com or kinvey.com