It sounds like you're getting a global JavaScript error (I'm curious as to the stack trace from your browser's console), which prevents further execution. While in development only (aka- don't force error handling like below), you could try adding a script early on to try and catch the culprit, you could try and load up a script, as early as possible, to force handling of the error to return true
or, more importantly, dump out more information on what is throwing the error.
For more on the global error event handler, here's a link to the corresponding page on MDN.
function ignoreError(msg, url, lineNo, columnNo, error) {
var string = msg.toLowerCase();
var substring = "script error";
if (string.indexOf(substring) > -1){
alert('Script Error: See Browser Console for Detail');
} else {
var message = [
'Message: ' + msg,
'URL: ' + url,
'Line: ' + lineNo,
'Column: ' + columnNo,
'Error object: ' + JSON.stringify(error)
].join(' - ');
alert(message);
}
return true;
}
window.onerror=ignoreError();