Added JS percent page viewed Mixpanel tracking