small html refactor