JS Levenshtein Distance Calculator