fixed a bug where the JavaScript language indicator didn't work