log js errors only in production