if what you need is global.Intl, why not testing for that?