detect and work around strictmode missing in IE9