Fixing bugs in the browser