Added browser detection for body_class() WP function