will global ever be undefined? (I think I just probably did a fine replace on window when we switched to browserify)