Fixed JSHint errors for Google Analytics code
Merge pull request #3245 from nicolaasmatthijs/testFailure

Fixed JSHint errors for Google Analytics code