Only report js errors on production