Fixed index.html, created genstats.js