Append analytics.js to head instead of first script