Make head and html attributes both configurable