Simplify code

See https://mathiasbynens.be/notes/async-analytics-snippet which explains these simplifications.

Also use HTTPS at all times since there’s no reason not to.