Adding browser version sniffing - see #1