[bug973119] - Moved Google Analytics snippet into separate file

[bug973119] - Forced 'https' and changed 'if' statement to pure javascript