pub fn take_fatal_js_error() -> Option<String>
Get and clear the fatal JS error message (returns None if no error)