a question of inheritance, and you're expecting a global declared in a script object to be accessible directly in the parent script.