create separate analytics.js and update html