changing to mixpanel 2.1 js