NodeJS is re-instantiating variables multiple times I have a Node.js application with the following code structure: