fixed jsonp implementation for aggregates api pull