removed convoluted variable name, removed event listener on request close, and solved ESH object function reference scoping issue