Further work on converting js codebase to cljs.
Merge pull request #54 from zoldar/cljs-conversion

Further work on converting js codebase to cljs.