fix duplicated tag head
Add page class variable to the html tag instead the body