Add ComJSEnv

Please extract the actual waiting out of the string interpolation. I don't expect a string interpolation to have that kind of "effect".