Avoid directly depending on the global window variable