check for the browser event too