Hide browser errors when reloading