Cleaned up HTMLHelp class code
Signed-off-by:Arie <arieclaassens@gmail.com>