Language Detection API JS Client