Add stub analytics JavaScript function
Add stub analytics JavaScript function

This commit adds a stub analytics JavaScript function since the test in question triggers the function and this fails in newer versions of the Sinon library if no stub is defined.

alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall