Modify regex for isInternetExplorer() to please the Closure compiler