refactoring ( some ) html