Wrapping bot.frame.defaultContent in anonymous function

In the injected case, we are not interested in the returned wrapped window
object. In point of fact, other atoms can get confused by this. Wrapping
in an anonymous function prevents this.