A wrapper around the Mixpanel JS API.