cast Window to goog.events.Listenable