Catch throwable in main JsConsole
Allow multi-line strings in console input.