dojo.isIE/has("ie") are numbers if it is internet explorer 6-10, and undefined in all other cases. 

Undefined is not less than 10 in JavaScript's opinion so for that if statement to be entered it must both be internet explorer and a version less than 10.

I can wrap it in the isSupportedBrowser though if you like, right now it is specific to IE.