added mixpanel js and events