setText remembers this

`"Uncaught TypeError: Object [object global] has no method 'empty'"`
`text` function requires self own this, thus we through window to it