update to v4 of log errors with jsonP support