Yes of course.
if (typeof window.CustomNECDefaultLanguage == 'undefined') {
// window.CustomNECDefaultLanguage is not defined, set to defaults
window.CustomNECDefaultLanguage =
"en";
}
var neccode = window.CustomNECDefaultLanguage; // this replaces line 21