Small refactor on Hybrid\HTML

Signed-off-by: crynobone <crynobone@gmail.com>