cross-window fix 3

- Not all browsers return "[object Window]" for window.toString()