you also have to send an eof with jade.stdin.end()