Fix a javascript error in language.js