improved browser detection for IE