js library: make it work both in node and in html
voting booth: add ballot creation
voting booth: add ballot casting