Fixing bug where unused function scope var was leaking to the global context.