JsCompiler: more friendly error message for Diego