now using clojurescript instead of javscript