added analytics.js, formatting, smaller fixes and removes