Add comments to getBrowserDetailsByUserAgent function