Update app/assets/javascripts/analytics.js