Move vote jQuery to front-end