Improve <head> formatting by grouping elements