Fix export of getHTML and parse

Unable to export getHTML and parse because
local exports object was getting overwritten
by module.exports which takes precedence.

Change allows getHTML and parse methods
to be exported.