An Attempt to Understand Variable Scoping with Callback Functions