Changed loadLangData() so that it checks for 'code' to exist before trying to reference it, fixing the problem where the JSON translation files would cause errors if the 'code' key did not exist