Fix #1241: Add Future based API to AsyncJSEnv