I didn't check, but does `! window[objName]` pass gjslint?