Take out browser detection code out.