Fix trackEvent method when used directly.

Since the object on `window.GaugesEvents` was an instance of the class, calling `GaugesEvents.trackEvent()` as described in the README didn’t work. Changing everything to instance-based fixes this.