Fixes issue #161 by changing kissmetrics plugin to use global window object

Fixes issue #161 by changing kissmetrics plugin to use global `window` object.  This now matches the way `window` is used in all the other plugins that use it.

The build and tests pass.  I have also done a test using this plugin and it is now successfully sending data to KissMetrics.