Fix error with ga() vs $window.ga()