Added node.js support.
Optimized! Reimplemented edit distance algo with max-value optimization.