Feature/upgrade mixpanel js

https://mixpanel.com/docs/integration-libraries/upgrading-the-javascript-library