Fix syntax error in stats.js