refac html head out to partial