move mixpanel from footer to head