JavaScript: support Nodejs 0.6.12 (eat spurious lines in stage1).