update mixpanel js lib to 2.2

also using new mixpanel js snippet.