changed around the IE detection a bit

It looks like this should detect IE, but not detect everything like it
was doing before.