Break analytics stuff out into separate top.js and bottom.js files.

Now they use env vars to initialize, so you can use 'em for prod and staging.