You'll need to re-add the code for `window.jsErrorDetected = true;` from the previous inline script