Fixes BrowserSim API changes