why not just use the built in JQuery method?

```javascript
$.browser.msie
```