Fix #1241: Add Future based API to AsyncJSEnv

I don't understand the comment. The way you chain the `Try`s, if both are failures, then `pipeResult`'s failure will take priority. The comment seems to tell the contrary.