set js_error to false