Fix error macro and error printing in cljs (fixes @sritchie's part of #34)