I tried embedding the google-analytics-bundle.js in my app but frequently sendEvent would throw exceptions. Other times it would work fine. Perhaps it is not up-to-date?
Here is a screenshot of the exception
Can you upload your code to a temporary branch at https://github.com/kzahel/jstorrent so that I can try because I cannot reproduce this issue for now?