[test2] finised js for retrieving best language
[test_2] add some comments & clean
[test_2] add a spinner
[test_2] add an error box