I normally know about conditional compilation of JS in IE using <!--[if gt IE 6] --> but here is something new I figured out today.
var IE;//@cc_on IE = parseFloat(navigator.appVersion);