Update analytics.js to use v1.0