fix error checking for newer versions of html-proofer