Only run Analytics if not on localhost
Do not load Analytics if on file protocol
Merge branch 'master' into gh-pages