Cleaned up stats.html code