minor html refactoring