attempt to make google analytics browserify friendly