fix regtests on the browser
fix broken browser tests