Fix HTML5 stats, minor fixes