browser detection code removed