ClojureScript rewrite of unitparty