Clean up BrowserEmulator