[lang-ref] Capture stdout/stderr ( javascript )