More reversions of typeof optimizations for global vars.