better window.ga detection