removed extra quote
Disable network errors on window unload