BL-697: Improve handling of JavaScript errors

It's not obvious that we are, in fact, getting a call stack here. I gather that the JavaScriptErrorHandler that you've installed inserts it into the message?