[Echo.Control] avoid memory leak issues via removing context variables which can be stored as free variables to function scope
[Echo.Control] avoid memory leak issues via removing context variables which can be stored as free variables to function scope

EchoAppsTeam/js-sdk,EchoAppsTeam/js-sdk