changed order of sniffing ua
update samples
add base tag and meta tag for robots