Fix #865: Inherit existing shell environment in external runners

Not if someone has defined his own subclass of `ExternalJSEnv`. But maybe that's taking it a bit too far...