cleanup browser sample