fix the js-error-handling display fix