ClojureScript port
Merge pull request #2 from jonase/cljs-squashed

ClojureScript port