Use goog.global instead of this or window.