Added unit total value. Added stats in html.