Moved the levenshtein search to tools.js