add mobile device detection to user-agent normalization