JSONP middleware, first pass