Update stats for totaljs