Remove useless HTML logic