Updated for node

Cleaned up string and array prototype pollution, updated for nodejs and published npm packaged to html2markdown. Would be happy to add you as author to npm registry.