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

[bug981354] - formatting and typo fixes

[bug981354] - fixed styling and formatting for Travis