common library for retrieving browser information