window.onerror on background page