Make the html handler configurable

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>