fix for ie versions greater than 9
Merge pull request #292 from NICTA/ie_b2_fix

fix for ie versions greater than 9