function registry for cljs