bug 1054482 - use WindowTracker instead of load event