Utils to help mine HTML documents