Small tweaks in html.c

Signed-off-by: Thiago Farina <tfarina@chromium.org>