mixpanel methods running from window as well