browser support

better browser detection and support