https://github.com/mixpanel/mixpanel-node/blob/master/example.js doesn't align with the latest Node.js sdk. For instance, there is no set_config method on the Mixpanel object.