Improve detection of browsers needing ES6 shims