slightly better browser detection

...not that it really matters that much.