Added calcSubAttributes function. Initialized view Fighters in HTML