Using levenshtein distance algo to find best matching js file