FE: Fix JS linting issues

Refer to GA as the window property