safer detection of GA globals. moved detection upstream
Adding comment about GA globals
test functions for ga and dataLayer