implement client-side voting
split clojurescript program