Store refs to newly-created maps on the window object.