Fix for incorrect version comparison

Hi,

I noticed that the HTMLHint executable hangs when exiting due to an issue with node version comparison - this pull request fixes the issue by using semver to do the comparison