added cljs reset function