Refactoring HTML:DRY