Add jsErrLog.logToConsole boolean to allow errors to be logged to console.