JS Resolver API: Add diacritic removal function