Look in $window so we don't have an undefined variable.