moved analytics.js to make sure it's always loaded before the router