Added browser detection functions