fixed issue where context variable was used out of scope
fixed issue where context variable was used out of scope

dialogflow/dialogflow-nodejs-client,dialogflow/dialogflow-nodejs-client,api-ai/apiai-nodejs-client,api-ai/api-ai-node-js,api-ai/apiai-nodejs-client,api-ai/api-ai-node-js