added mixpanel in js main