Fix "anonymous function does not always return a value" warning
Inspect "window" object: fixes for Firefox 2.0