Decoupled stderr.
Change stderr decoupling, decouple stdin, add stdin js support.