If this applies only to IE then it should be wrapped in if Tent.Browsers.isIE()