Add ComJSEnv

Would it make sense for this method to return a `Future[Unit]` that will be completed when the process is terminated? Then basically `isRunning` and `await` are redundant with the API of `Future`.