updated statcounter code