refactored html heads