Protectt ourselves against interfaceConfig being undeclared. typeof interfaceConfig will return "undefined", but that's different than having some window.interfaceConfig = undefined, even though the valus is the same. The former will give a ReferenceError.