Fixed the JSON file path auto-detection in loadLangData() so that it uses the JSON filename rather than the JS filename