Add mixpanel and fix broken JS references