Fixed restartBrowser() for IE.