Revert "Convert IE detection script to ES5, see https://github.com/phetsims/chipper/issues/954"
Revert "Convert IE detection script to ES5, see https://github.com/phetsims/chipper/issues/954"

This reverts commit 576fff57d1df829906ef2cad21de3cf7b2c24248.

phetsims/chipper,phetsims/chipper,phetsims/chipper