make sure jsonp and pretty are passed into all error handlers