Replace javascript for bar with clojurescript