added mixpanel javascript tracking