Updated to match current mixpanel widget.

I just copied and pasted from what mixpanel gave me and added the module.exports. Seems to work fine, noticed it was a little different from what you had. If you want it: great, if you don't: also great. Have a nice day :smiley_cat: