[bug981354] - Moved google-analytics inline script into separate file

[bug981354] - formatting and typo fixes