Add common appcommon.js file, load analytics with it