fixes assert-iae, format now called properly and w/cljs friendly version

The macro was expanding out to (format ("foo")) before causing the
String to be treated as a Fn.