BL-697: Suppress most JavaScript error messages