Update analytics.js related templates
Cleanup javascript libraries