Fixed customanalytics.js to not use jquery